package sz.szsmk.citizencard.mvp.contract;

import java.util.List;

import sz.szsmk.citizencard.model.network.bean.response.QuryShopRegionAppRes;
import sz.szsmk.citizencard.model.network.bean.response.QuryShopTypeAppRes;
import sz.szsmk.citizencard.model.network.bean.response.ShopListRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/6/4 19:59
 * description:
 */
public interface IBusnessContact {

    interface IBusnessPresenter<T extends IBaseContact.IBaseView> extends IBaseContact.IBasePresenter {
        void getShopList(String serviceType, String areaType, String distanceType, int pager, int type);

        void shopSearch(String keyword);

        void quryShopRegionApp();

        void quryShopTypeApp();

    }

    interface IBusnessView extends IBaseContact.IBaseView {


        void getShopingSucc(List<ShopListRes.ShopListInfosBean> shopListInfos);


        void getShopingFail(String msg);

        void shopSearchSucc(List<ShopListRes.ShopListInfosBean> websiteListInfo);

        void shopSearchFail(String msg);

        void quryShopRegionAppFail();

        void quryShopRegionAppSucc(QuryShopRegionAppRes serviceTypeRes);

        void quryShopTypeAppSucc(QuryShopTypeAppRes serviceTypeRes);

        void quryShopTypeAppFail();
    }

}
